<?xml version='1.0' encoding='UTF-8' ?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>
	<p:menubar autoDisplay="false">
		<p:menuitem value="Vendas" url="/pages/sale.jsf" icon="ui-icon-calculator" />
		<p:submenu label="Cadastro" icon="ui-icon-document">
			<p:menuitem value="Produtos" url="/pages/cad/product.jsf" icon="ui-icon-note"/>
			<p:menuitem value="Distribuidores" url="/pages/cad/distributor.jsf" icon="ui-icon-transferthick-e-w"/>
			<p:menuitem value="Gêneros" url="/pages/cad/genre.jsf" icon="ui-icon-comment"/>
			<p:menuitem value="Editoras" url="/pages/cad/publisher.jsf" icon="ui-icon-pencil"/>
			<p:menuitem value="Clientes" url="/pages/cad/client.jsf" icon="ui-icon-contact"/>
			<p:menuitem value="Usuários" url="/pages/cad/user.jsf" icon="ui-icon-person"/>
		</p:submenu>
		<p:submenu label="Busca" icon="ui-icon-search">
			<p:menuitem value="Produtos" url="/pages/search/product.jsf" icon="ui-icon-note"/>
			<p:menuitem value="Clientes" url="/pages/search/client.jsf" icon="ui-icon-contact"/>
		</p:submenu>
		<p:menuitem value="Reservas" url="/pages/reserve.jsf" icon="ui-icon-cart"/>
		<p:menuitem value="Devolução" url="/pages/return.jsf" icon="ui-icon-arrowstop-1-w"/>
		<p:submenu label="Relatórios" icon="ui-icon-document-b">
			<p:menuitem value="Vendas" url="/pages/reports/sale.jsf"/>
		</p:submenu>
		<p:submenu label="#{loginBean.user.login}" icon="ui-icon-person">
			<p:menuitem value="Sair" action="#{loginBean.logout}" icon="ui-icon-close" />
		</p:submenu>
	</p:menubar>
</ui:composition>
</html>